package com.graduation.project.entity.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author 卑微小峰
 * @date 2022/11/23
 * 修改状态DTO
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UpdateStatusDTO {

    /**
     * id
     */
    @NotNull(message = "参数不能为空")
    private Long id;

    /**
     * 状态
     */
    @NotNull(message = "参数不能为空")
    private Integer status;

    /**
     * 意见
     */
    private String idea;
}
